﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DatabaseComponent;

public partial class SelfServicesAR : System.Web.UI.Page
{
     protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            Page.DataBind();
            checkSecurityAndCustomizePage();
            
        }

        ScriptManager.RegisterStartupScript(this, this.GetType(), "HideBackButton", "hideBackButton();", true);
    }


    /// <summary>
    /// this function will check the security and customize page
    /// </summary>
    private void checkSecurityAndCustomizePage()
    {
        //Persons objPersons = GlobalVars.getCurrentPerson();

        //if (!objPersons.lstAllRulesIDs.Contains((long)RulesEnum.Ticket_add_page))
        //{
        //    Response.Redirect("LoginEN.aspx");

        //}
    }
}